#!/bin/bash

n=1

while [ $n -le 100 ]
do
awk 'NR==4, NR==23' results/alpha_$n.margestats | \
awk '{ print $2,$3}' > alpha/alpha_$n.txt
n=`expr 1 + $n`
done
